package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 中药登记对象 medicine_register
 * 
 * @author ruoyi
 * @date 2025-01-23
 */
public class MedicineRegister extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 登记号 */
    @Excel(name = "登记号")
    private String registerCode;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 持有人 */
    @Excel(name = "持有人")
    private String holder;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 农药类型 */
    @Excel(name = "农药类型")
    private String medicineType;

    /** 总有效成分含量 */
    @Excel(name = "总有效成分含量")
    private String effectiveContent;

    /** 剂型 */
    @Excel(name = "剂型")
    private String dosageForm;

    /** 场所 */
    @Excel(name = "场所")
    private String place;

    /** 防治对象 */
    @Excel(name = "防治对象")
    private String controlTargets;

    /** 施用方法 */
    @Excel(name = "施用方法")
    private String method;

    /** 毒性 */
    @Excel(name = "毒性")
    private String toxicity;

    /** 有效成分1 */
    @Excel(name = "有效成分1")
    private String activeIngredient1;

    /** 英文1 */
    @Excel(name = "英文1")
    private String english1;

    /** 含量1 */
    @Excel(name = "含量1")
    private String content1;

    /** 有效成分2 */
    @Excel(name = "有效成分2")
    private String activeIngredient2;

    /** 英文2 */
    @Excel(name = "英文2")
    private String english2;

    /** 含量2 */
    @Excel(name = "含量2")
    private String content2;

    /** 有效成分3 */
    @Excel(name = "有效成分3")
    private String activeIngredient3;

    /** 英文3 */
    @Excel(name = "英文3")
    private String english3;

    /** 含量3 */
    @Excel(name = "含量3")
    private String content3;

    /** 有效起始日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效起始日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date effectiveStartTime;

    /** 有效结束日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效结束日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date effectiveEndTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date deadlineStartTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date deadlineEndTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRegisterCode(String registerCode) 
    {
        this.registerCode = registerCode;
    }

    public String getRegisterCode() 
    {
        return registerCode;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setHolder(String holder) 
    {
        this.holder = holder;
    }

    public String getHolder() 
    {
        return holder;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setMedicineType(String medicineType) 
    {
        this.medicineType = medicineType;
    }

    public String getMedicineType() 
    {
        return medicineType;
    }
    public void setEffectiveContent(String effectiveContent) 
    {
        this.effectiveContent = effectiveContent;
    }

    public String getEffectiveContent() 
    {
        return effectiveContent;
    }
    public void setDosageForm(String dosageForm) 
    {
        this.dosageForm = dosageForm;
    }

    public String getDosageForm() 
    {
        return dosageForm;
    }
    public void setPlace(String place) 
    {
        this.place = place;
    }

    public String getPlace() 
    {
        return place;
    }
    public void setControlTargets(String controlTargets) 
    {
        this.controlTargets = controlTargets;
    }

    public String getControlTargets() 
    {
        return controlTargets;
    }
    public void setMethod(String method) 
    {
        this.method = method;
    }

    public String getMethod() 
    {
        return method;
    }
    public void setToxicity(String toxicity) 
    {
        this.toxicity = toxicity;
    }

    public String getToxicity() 
    {
        return toxicity;
    }
    public void setActiveIngredient1(String activeIngredient1) 
    {
        this.activeIngredient1 = activeIngredient1;
    }

    public String getActiveIngredient1() 
    {
        return activeIngredient1;
    }
    public void setEnglish1(String english1) 
    {
        this.english1 = english1;
    }

    public String getEnglish1() 
    {
        return english1;
    }
    public void setContent1(String content1) 
    {
        this.content1 = content1;
    }

    public String getContent1() 
    {
        return content1;
    }
    public void setActiveIngredient2(String activeIngredient2) 
    {
        this.activeIngredient2 = activeIngredient2;
    }

    public String getActiveIngredient2() 
    {
        return activeIngredient2;
    }
    public void setEnglish2(String english2) 
    {
        this.english2 = english2;
    }

    public String getEnglish2() 
    {
        return english2;
    }
    public void setContent2(String content2) 
    {
        this.content2 = content2;
    }

    public String getContent2() 
    {
        return content2;
    }
    public void setActiveIngredient3(String activeIngredient3) 
    {
        this.activeIngredient3 = activeIngredient3;
    }

    public String getActiveIngredient3() 
    {
        return activeIngredient3;
    }
    public void setEnglish3(String english3) 
    {
        this.english3 = english3;
    }

    public String getEnglish3() 
    {
        return english3;
    }
    public void setContent3(String content3) 
    {
        this.content3 = content3;
    }

    public String getContent3() 
    {
        return content3;
    }
    public void setEffectiveStartTime(Date effectiveStartTime) 
    {
        this.effectiveStartTime = effectiveStartTime;
    }

    public Date getEffectiveStartTime() 
    {
        return effectiveStartTime;
    }
    public void setEffectiveEndTime(Date effectiveEndTime) 
    {
        this.effectiveEndTime = effectiveEndTime;
    }

    public Date getEffectiveEndTime() 
    {
        return effectiveEndTime;
    }
    public void setDeadlineStartTime(Date deadlineStartTime) 
    {
        this.deadlineStartTime = deadlineStartTime;
    }

    public Date getDeadlineStartTime() 
    {
        return deadlineStartTime;
    }
    public void setDeadlineEndTime(Date deadlineEndTime) 
    {
        this.deadlineEndTime = deadlineEndTime;
    }

    public Date getDeadlineEndTime() 
    {
        return deadlineEndTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("registerCode", getRegisterCode())
            .append("name", getName())
            .append("holder", getHolder())
            .append("province", getProvince())
            .append("medicineType", getMedicineType())
            .append("effectiveContent", getEffectiveContent())
            .append("dosageForm", getDosageForm())
            .append("place", getPlace())
            .append("controlTargets", getControlTargets())
            .append("method", getMethod())
            .append("toxicity", getToxicity())
            .append("activeIngredient1", getActiveIngredient1())
            .append("english1", getEnglish1())
            .append("content1", getContent1())
            .append("activeIngredient2", getActiveIngredient2())
            .append("english2", getEnglish2())
            .append("content2", getContent2())
            .append("activeIngredient3", getActiveIngredient3())
            .append("english3", getEnglish3())
            .append("content3", getContent3())
            .append("effectiveStartTime", getEffectiveStartTime())
            .append("effectiveEndTime", getEffectiveEndTime())
            .append("deadlineStartTime", getDeadlineStartTime())
            .append("deadlineEndTime", getDeadlineEndTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
